<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8" />
    <title>注册</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/common.css"/>
    <style type="text/css">
        .content_box{
            margin-top: 40px;
        }
        .form_box{
            width: 380px;
        }
        .form_item{
            padding: 8px 0;
        }
        .form_item label{
            display: inline-block;
            width: 26%;
            text-align: right;
        }
        .form_item input{
            width: 50%;
        }
        .sub_btn{
            display: inline-block;
            margin: 10px 20px;
        }
    </style>
</head>
<body>
<h1 class="title">宁夏医科大学教学评分系统</h1>
<div class="content_box">
    <div class="form_box">
        <form action="user-register" method="post">
            <label style="color: red;margin-left: 100px">${requestScope.tip}</label>
            <div class="form_item">
                <label >工 号：</label>
                <input type="text" name="userId"  value="" required/>
            </div>
            <div class="form_item">
                <label >密 码：</label>
                <input type="password" name="password"  value="" required/>
            </div>
            <div class="form_item">
                <label >确认密码：</label>
                <input type="password" name="pwd"  value="" required/>
            </div>
            <div class="form_item">
                <label >姓 名：</label>
                <input type="text" name="username"  value="" required/>
            </div>
            <div class="form_item">
                <label >角色：</label>
                <select name="role" required>
                    <option value="TEACHER">教师</option>
                    <option value="RESEARCH">教研室</option>
                    <option value="OFFICE">教学办</option>
                </select>
            </div>
            <div class="form_item">
                <label >所属学院：</label>
                <input type="text" name="office"  value="" required/>
            </div>
            <div class="form_item">
                <label >所属教研室：</label>
                <input type="text" name="research"  value="" required/>
            </div>
            <div class="form_item">
                <label >电话号：</label>
                <input type="tel" name="phoneNo"  value="" required/>
            </div>
            <div class="form_item">
                <label >出生年月：</label>
                <input type="date" name="birth"  value="birth" required/>
            </div>
            <input type="reset" value="重 置" class="sub_btn" style="background: #ddd;color:#333333;"/>
            <input type="submit" value="提 交" class="sub_btn"/>
        </form>
    </div>
</div>
</body>
</html>
